package cn.jjxx.modules.resources.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.resources.mapper.HrAttendanceMapper;
import cn.jjxx.modules.resources.entity.HrAttendance;
import cn.jjxx.modules.resources.service.IHrAttendanceService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 考勤信息
 * @Description: 考勤信息
 * @author TianShixi
 * @date 2021-06-28 15:14:25
 * @version V1.0   
 *
 */
@Transactional
@Service("hrAttendanceService")
public class HrAttendanceServiceImpl  extends CommonServiceImpl<HrAttendanceMapper,HrAttendance> implements  IHrAttendanceService {

	@Override
	public boolean insertBatch(List<HrAttendance> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<HrAttendance> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
